// import './assets/main.css'
import './assets/css/global.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

// 1.全局引入axios
import axios from 'axios'

// 全局配置baseURL
axios.defaults.baseURL = "http://git.coding-future.com:19003"

// 2.全局注册
// provide inject 
// 挂载全局对象



const app = createApp(App)

app.use(router)
// 2.全局提供axios
app.provide("$http",axios)

app.mount('#app')
